#ifndef COMMAND_LINE_H
#define COMMAND_LINE_H

#include "patterns/singleton.h"

#include <map>
#include <string>

namespace Tvimeg
{
	class CommandLine : public Singleton<CommandLine>
	{
	public:
		void				Initialise(const int argumentCount, const char* arguments[]);

		const std::string&	GetCommand(const std::string& key) const;

	private:
		CommandLine(void);
		CommandLine(const CommandLine& other);
		~CommandLine(void);

		friend class Singleton<CommandLine>;

		typedef std::map<std::string, std::string> CommandList;
		CommandList		commands;
	};
}

#endif // COMMAND_LINE_H
